# -*- mode: snippet -*-
# name: comp.risk
# key: comp.risk
# --
timereg::comp.risk(formula = Event(time, cause, cens.code = 0) ~ $0,
data = ,
cause = 1,   # specificies which cause we consider
resample.iid = 1,   # to return the iid decomposition
n.sim = 100, # number of simulations in resampling
model = \"${1:$$(yas-choose-value '("additive" "prop" "rcif" "logistic"))}\"
)